package bupt.party.online.model;

import java.sql.Timestamp;

/**
 * LearnRecord entity. @author MyEclipse Persistence Tools
 */

public class LearnRecord implements java.io.Serializable {

	// Fields

	private Integer id;
	private String studentNo;
	private Timestamp visiteDate;
	private String visiteIp;
	private Double studyTime;

	// Constructors

	/** default constructor */
	public LearnRecord() {
	}

	/** minimal constructor */
	public LearnRecord(String studentNo, Timestamp visiteDate, Double studyTime) {
		this.studentNo = studentNo;
		this.visiteDate = visiteDate;
		this.studyTime = studyTime;
	}

	/** full constructor */
	public LearnRecord(String studentNo, Timestamp visiteDate, String visiteIp,
			Double studyTime) {
		this.studentNo = studentNo;
		this.visiteDate = visiteDate;
		this.visiteIp = visiteIp;
		this.studyTime = studyTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getStudentNo() {
		return this.studentNo;
	}

	public void setStudentNo(String studentNo) {
		this.studentNo = studentNo;
	}

	public Timestamp getVisiteDate() {
		return this.visiteDate;
	}

	public void setVisiteDate(Timestamp visiteDate) {
		this.visiteDate = visiteDate;
	}

	public String getVisiteIp() {
		return this.visiteIp;
	}

	public void setVisiteIp(String visiteIp) {
		this.visiteIp = visiteIp;
	}

	public Double getStudyTime() {
		return this.studyTime;
	}

	public void setStudyTime(Double studyTime) {
		this.studyTime = studyTime;
	}

}